﻿
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Inventory.Business.API;
using Inventory.DAL;
namespace Inventory.Test
{
    
    
    /// <summary>
    ///This is a test class for DalExtensionsTest and is intended
    ///to contain all DalExtensionsTest Unit Tests
    ///</summary>
    [TestClass()]
    public class DalExtensionsTest
    {


    

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for FullCode
        ///</summary>
        [TestMethod()]
        public void FullCodeTest()
        {
            //AdjustmentTransaction transaction = new AdjustmentTransaction();
            //Inventory.DAL.InventoryEntities entities = new Inventory.DAL.InventoryEntities();

            //var addjustment = transaction.GetById(53);
            //        var x = entities.Adjustment.Where(a => a.ID == 5);
            //string expected = string.Empty; // TODO: Initialize to an appropriate value
            //string actual;
            //actual = DalExtensions.FullCode(adjustment.);
            //Assert.AreEqual(expected, actual);
            //Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
